﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="Site.Master" CodeBehind="Report.aspx.vb"
    Inherits="DotNetCore.BannerManagement.AdvertiserReport" Title="Banner Management - Advertiser Report" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Label ID="lblInformation" runat="server" Text=""></asp:Label>
    <br />
    <asp:Panel ID="pnlReporting" runat="server" HorizontalAlign="Center">
        <br />
        <asp:GridView ID="gvAdvertisements" runat="server" AutoGenerateColumns="false">
            <EmptyDataTemplate>
                You have no advertisements
            </EmptyDataTemplate>
            <Columns>
                <asp:BoundField HeaderText="Name" DataField="Name" />
                <asp:ImageField HeaderText="Banner Image" DataAlternateTextField="AlternateText"
                        DataImageUrlField="ID" DataImageUrlFormatString="../Advertisement/LoadBanner.aspx?ID={0}">
                </asp:ImageField>
                <asp:BoundField HeaderText="Impressions" DataField="Impressions" />
                <asp:BoundField HeaderText="Clicks" DataField="ClickThroughs" />
                <asp:BoundField HeaderText="Start Date" DataField="StartDate" DataFormatString="{0:dd MM yyyy}" />
                <asp:BoundField HeaderText="End Date" DataField="EndDate" DataFormatString="{0:dd MM yyyy}" />
            </Columns>
        </asp:GridView>
    </asp:Panel>
</asp:Content>
